Skip to main content

mobileUnlockIdleTimer

Type​

command

Summary​

Allows iOS or Android to dim and lock the screen after periods of no user interaction.

Syntax​

mobileUnlockIdleTimer

Description​

Use the mobileUnlockIdleTimer command to allow iOS or Android to dim and lock the screen again where you have prevented this using the mobileLockIdleTimer command.

Locking the idle timer increments an internal lock count, while unlocking the idle timer decrements the lock count. When the lock count goes from 0 to 1, the idle timer is turned off; when the lock count goes from 1 to 0, the idle timer is turned on.

Examples​

mobileUnlockIdleTimer

command: mobileLockIdleTimer

function: mobileIdleTimerLocked

Compatibility and Support​

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?